﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SocialShare.Web.Integrations;
using Utilities;
using SocialShare.DAL.Facades;
using SocialShare.BusinessEntities;

namespace SocialShare.Web.My_Account
{
    public partial class posts_history : System.Web.UI.Page
    {
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            StrategyProxyUser loggegInUser=new StrategyProxyUser().GetCurrentUser();
            MemberFacade facade = new MemberFacade();
            SocialShare_MemberProfiles profiles=facade.GetUserProfileByID(loggegInUser.User_ID);
            SessionManager.BlogName = profiles.BlogName;
            SessionManager.LOGGED_IN_USER_ID = loggegInUser.User_ID;
        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}